﻿using System;

namespace TiaoTiaoCode.NLogger.Dtos
{
    /// <summary>
    /// 写入数据库的日志
    /// </summary>
    public class DbLogItem : LogItem
    {
        /// <summary>
        /// 日志内容
        /// </summary>
        public string LogData { get; set; } = default!;

        /// <summary>
        /// 方法名
        /// </summary>
        public string Method { get; set; } = default!;

        /// <summary>
        /// 操作表名
        /// </summary>
        public string TableName { get; set; } = default!;

        /// <summary>
        /// 操作类型
        /// </summary>
        public string OperateType { get; set; } = default!;
    }
}
